import axios from '@/axios/request'

//新增待出售
export function addMarket(params) {
  return axios({
    url: 'api/addMarket',
    method: 'POST',
    data: params
  })
}

// 查询待出售
export function getMarketList(params) {
  return axios({
    url: 'api/getMarketList',
    method: 'POST',
    data: params
  })
}

// 删除待出售
export function delMarket(params) {
  return axios({
    url: 'api/delMarket',
    method: 'POST',
    data: params
  })
}

// 修改待出售
export function editMarket(params){
  return axios({
    url: 'api/editMarket',
    method: 'POST',
    data: params
  })
}
